﻿using Microsoft.EntityFrameworkCore;
using T_Person.Domain;

namespace T_Person.BaseRep
{
    public class Mycreate:DbContext
    {
        public Mycreate(DbContextOptions<Mycreate> options):base(options)
        {
            
        }
        /// <summary>
        /// 员工表
        /// </summary>
        public DbSet<Employee> employees { get; set; }
        /// <summary>
        /// 人事表
        /// </summary>
        public DbSet<Personnel>  personnel {  get; set; }

    }
}
